package org.example.service;

import lombok.AllArgsConstructor;
import org.example.dao.mapper.UserMapper;
import org.example.dao.po.UserInfo;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
@AllArgsConstructor
public class UserService {

    private final UserMapper userMapper;

    public List<UserInfo> queryUserInfo() {
        return userMapper.getUser();
    }
}
